﻿using System.IO;

namespace StoryCardLogic
{
    public class MyFile : IFile
    {
        public string ReadFromFile(string fileName)
        {
            return File.ReadAllText(fileName);
        }

        public void SaveToFile(string fileName, string randomText)
        {
            File.WriteAllText(fileName, randomText);
        }
    }
}